@charset "UTF-8";

/* 全局样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 20px;
    color: #333;
}

/* 标题样式 */
.title {
    width: 100%;
    height: 48px;
    margin: 0 0 20px 0;
    font-size: 22px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, #6868e3, #8a8aff);
    font-weight: 600;
    line-height: 48px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(104, 104, 227, 0.3);
    letter-spacing: 1px;
}

/* 表格容器 */
.table-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    background-color: white;
}

/* 表格样式 */
#tbl {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background-color: white;
    color: #444;
}

#tbl thead {
    background: linear-gradient(to right, #00bbff, #0088cc);
    color: white;
}

#tbl th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.5px;
}

#tbl td {
    padding: 10px 15px;
    border-bottom: 1px solid #eaeaea;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#tbl tr:nth-child(even) {
    background-color: #f8fafc;
}

#tbl tr:hover {
    background-color: #f0f7ff;
    transition: background-color 0.2s ease;
}

/* 分页容器 */
.paginate-div {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

/* 分页样式 */
.paginate {
    list-style-type: none;
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
}

.paginate > li {
    margin: 0 4px;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.paginate > li > a {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    min-width: 36px;
    text-align: center;
    background-color: #f5f7fa;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.paginate > li > a:hover {
    background-color: #e0e6ed;
    color: #333;
}

.paginate > li > a.active {
    background-color: #00bbff;
    color: white;
}

.paginate > li.first > a,
.paginate > li.last > a {
    background-color: #6868e3;
    color: white;
}

.paginate > li.prev > a,
.paginate > li.next > a {
    background-color: #e0e6ed;
}

.paginate > li.disabled > a {
    color: #ccc;
    cursor: not-allowed;
    background-color: #f5f7fa;
}

/* 跳转功能样式 */
.paginate > li.goto {
    display: flex;
    align-items: center;
    margin: 0 8px;
}

.paginate > li.goto input {
    width: 60px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    margin-right: 6px;
}

.paginate > li.goto input:focus {
    outline: none;
    border-color: #00bbff;
    box-shadow: 0 0 0 2px rgba(0, 187, 255, 0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    #tbl th, #tbl td {
        padding: 8px 10px;
    }

    .paginate > li > a {
        padding: 6px 8px;
        min-width: 30px;
        font-size: 14px;
    }

    .paginate > li.goto input {
        width: 50px;
        padding: 6px;
        font-size: 13px;
    }
}
/*///////*/
@charset "UTF-8";

/* 全局样式 */
body, table {
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    background-color: #f5f5f5;
    padding: 20px;
}

/* 查询区域样式 */
.search {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.search > form > div {
    display: inline-block;
    margin-bottom: 15px;
    margin-right: 15px;
}

.search > form > div > :is(input, select) {
    outline: none;
    border: 1px solid #e6e6e6;
    width: 160px;
    padding: 8px 10px;
    border-radius: 4px;
    transition: border-color 0.3s;
    font-size: 14px;
}

.search > form > div > :is(input, select):focus {
    border-color: #409EFF;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
}

.search > form > div > label {
    margin-right: 8px;
    font-weight: normal;
    color: #606266;
}

/* 日期范围样式 */
#birth-range {
    display: inline-flex;
    align-items: center;
}

#birth-range .layui-input-inline {
    width: 160px;
}

.layui-form-mid {
    margin: 0 10px;
    color: #606266;
}

/* 按钮区域样式 */
.action {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    margin-bottom: 20px;
}

.action > button {
    background-color: #409EFF;
    padding: 8px 16px;
    outline: none;
    border: 1px solid transparent;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 10px;
    font-size: 14px;
}

.action > button:hover {
    background-color: #66b1ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(64, 158, 255, 0.3);
}

.action > button:active {
    background-color: #3a8ee6;
    transform: translateY(0);
}

/* 首个按钮 - 新增 */
.action > button:nth-child(1) {
    background-color: #67C23A;
}

.action > button:nth-child(1):hover {
    background-color: #85ce61;
    box-shadow: 0 4px 8px rgba(103, 194, 58, 0.3);
}

/* 第二个按钮 - 修改 */
.action > button:nth-child(2) {
    background-color: #E6A23C;
}

.action > button:nth-child(2):hover {
    background-color: #ebb563;
    box-shadow: 0 4px 8px rgba(230, 162, 60, 0.3);
}

/* 第四个按钮 - 重置 */
.action > button:nth-child(4) {
    background-color: #909399;
}

.action > button:nth-child(4):hover {
    background-color: #a6a9ad;
    box-shadow: 0 4px 8px rgba(144, 147, 153, 0.3);
}

/* 第五个按钮 - 删除 */
.action > button:nth-child(5) {
    background-color: #F56C6C;
}

.action > button:nth-child(5):hover {
    background-color: #f78989;
    box-shadow: 0 4px 8px rgba(245, 108, 108, 0.3);
}

/* 表格样式 */
#tbl {
    border-collapse: collapse;
    width: 100%;
    margin-top: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#tbl tr > :is(td, th) {
    border: 1px solid #e6e6e6;
    padding: 12px 15px;
    text-align: center;
}

#tbl th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
    position: relative;
}

#tbl th::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #e6e6e6;
}

#tbl tr:hover {
    background-color: #f5f7fa;
    transition: background-color 0.3s;
}

#tbl tr:nth-child(even) {
    background-color: #fafafa;
}

#tbl tr:nth-child(even):hover {
    background-color: #f5f7fa;
}

/* 分页区域样式 */
.paginate-div {
    margin-top: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    text-align: center;
}

.paginate {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.paginate > li {
    display: inline-block;
    margin: 0 3px;
}

.paginate > li > a, .paginate > li > span {
    display: inline-block;
    padding: 8px 14px;
    text-align: center;
    text-decoration: none;
    border: 1px solid #e6e6e6;
    margin: 0 2px;
    color: #666;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 14px;
}

.paginate > li > a:hover {
    background-color: #409EFF;
    color: #fff;
    border-color: #409EFF;
    transform: translateY(-2px);
}

.paginate > li.active > a {
    background-color: #409EFF;
    color: #fff;
    border-color: #409EFF;
    font-weight: bold;
}

.paginate > li.first > a,
.paginate > li.last > a {
    background-color: #f4f4f5;
    color: #606266;
    border-color: #e6e6e6;
}

.paginate > li.first > a:hover,
.paginate > li.last > a:hover {
    background-color: #409EFF;
    color: #fff;
    border-color: #409EFF;
}

.paginate > li.prev > a,
.paginate > li.next > a {
    background-color: #f4f4f5;
    color: #606266;
    border-color: #e6e6e6;
}

.paginate > li.prev > a:hover,
.paginate > li.next > a:hover {
    background-color: #409EFF;
    color: #fff;
    border-color: #409EFF;
}

.paginate::after {
    content: "";
    display: block;
    clear: both;
    width: 0;
}

/* 跳转区域样式 */
.goto {
    display: inline-flex;
    align-items: center;
    margin-left: 20px;
}

.goto input {
    border-radius: 4px;
    padding: 6px 8px;
    border: 1px solid #e6e6e6;
    vertical-align: middle;
    width: 60px;
    text-align: center;
    font-size: 14px;
    transition: border-color 0.3s;
}

.goto input:focus {
    border-color: #409EFF;
    outline: none;
    box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2);
}

.goto #gotoBtn {
    padding: 7px 14px;
    background-color: #5FB878;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    margin-left: 8px;
    vertical-align: middle;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid #5FB878;
}

.goto #gotoBtn:hover {
    background-color: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(95, 184, 120, 0.3);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }

    .search > form > div {
        display: block;
        margin-bottom: 10px;
    }

    .search > form > div > :is(input, select) {
        width: calc(100% - 80px);
    }

    .paginate {
        flex-wrap: wrap;
    }

    .paginate > li {
        margin: 2px;
    }

    .paginate > li > a, .paginate > li > span {
        padding: 6px 10px;
        font-size: 13px;
    }

    .goto {
        margin-top: 10px;
        margin-left: 0;
        justify-content: center;
    }
}

/* 总记录数样式 */
.action > label[for="sum"] {
    margin-left: 20px;
    margin-right: 8px;
    font-weight: normal;
    color: #606266;
    vertical-align: middle;
    font-size: 14px;
}

.action > #sum {
    width: 80px;
    padding: 8px 10px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    background-color: #f5f7fa;
    color: #909399;
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
}
